Skip to content

Conversation

@ryoppippi
Copy link
Member

@ryoppippi ryoppippi commented Jan 18, 2026

Summary

  • Use remote schema URLs from oxc-project/oxc repository instead of local node_modules paths
  • This ensures schema validation works even before dependencies are installed

Inspired by ryoppippi/gray-matter-es#5

Test plan

  • pnpm lint passes

Summary by cubic

Switch the $schema fields in .oxlintrc.jsonc and .oxfmtrc.jsonc to the oxc-project remote URLs. Schema validation and editor hints now work even before dependencies are installed.

Written for commit 9f0a896. Summary will update on new commits.

Use remote schema URLs from oxc-project/oxc repository instead of
local node_modules paths. This ensures schema validation works even
before dependencies are installed.
@ryoppippi ryoppippi requested a review from a team as a code owner January 18, 2026 00:05
Copilot AI review requested due to automatic review settings January 18, 2026 00:05
@ryoppippi ryoppippi merged commit c96d322 into main Jan 18, 2026
19 checks passed
@ryoppippi ryoppippi deleted the chore/update-oxc-schema-urls branch January 18, 2026 00:06
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the JSON schema references in oxlint and oxfmt configuration files from local node_modules paths to remote GitHub URLs, enabling schema validation before dependencies are installed.

Changes:

  • Updated schema references to use remote URLs from the oxc-project/oxc repository instead of local paths

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.oxlintrc.jsonc Changed $schema to use GitHub raw content URL for oxlint schema
.oxfmtrc.jsonc Changed $schema to use GitHub raw content URL for oxfmt schema

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants